﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Macro_stone.PoModel
{
    /// <summary>
    /// 人员信息
    /// </summary>
    [Table("Staff")]
    public class StaffPo
    {
        /// <summary>
        /// 录入员工
        /// </summary>
        [Key]
        public int staffId { get; set; }
        /// <summary>
        /// 登录名  
        /// </summary>
        public string loginName { get; set; }
        /// <summary>
        /// 姓名  
        /// </summary>
        public string staffName { get; set; }
        /// <summary>
        /// 出生日期  
        /// </summary>
        public DateTime staffTime { get; set; }
        /// <summary>
        /// 性别  
        /// </summary>
        public int sex { get; set; }
        /// <summary>
        /// 部门ID 
        /// </summary>
        public int deptId { get; set; }
        /// <summary>
        /// 专业 
        /// </summary>
        public string majorId { get; set; }
        /// <summary>
        /// 角色 
        /// </summary>
        public string roleId { get; set; }
        /// <summary>
        /// 密码 
        /// </summary>
        public string passWord { get; set; }
        /// <summary>
        /// Email 
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 手机 
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 联系电话 
        /// </summary>
        public string telephone { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        public string professionalId { get; set; }
        /// <summary>
        /// 管理职位 
        /// </summary>
        public string managementId { get; set; }
        /// <summary>
        /// 技术职位 
        /// </summary>
        public string technologyId { get; set; }
        /// <summary>
        /// 在职状态 
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 上传头像 
        /// </summary>
        public string img { get; set; }
        /// <summary>
        /// 显示排序_序号 
        /// </summary>
        public int order { get; set; }
        /// <summary>
        /// 入职时间 
        /// </summary>
        public DateTime entryTime { get; set; }
        /// <summary>
        /// 离职时间 
        /// </summary>
        public DateTime resignationTime { get; set; }
        

    }
}
